<template>
  <el-config-provider :locale="locale" :message="config">
    <router-view></router-view>
  </el-config-provider>
</template>

<script setup>
/* element配置 */
import { ElConfigProvider } from 'element-plus'
import zhCn from 'element-plus/es/locale/lang/zh-cn' // 国际化
import { reactive } from 'vue'
const locale = zhCn
const config = reactive({
  max: 1 // 报错弹窗最多一个
})
</script>

<style lang="scss" scoped></style>
